package edu.nf.hotel.orders;

import lombok.AllArgsConstructor;
import lombok.CustomLog;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.util.Date;

/**
 * @Date 2023-06-29
 * @Author 带土
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderInfo {

    /**
     *订单编号
     */
    @Column("order_id")
    private Integer orderId;

    /**
     *客房信息外键
     */
    @Column("ro_id")
    private Integer roId;

    /**
     *折扣默认九折
     */
    @Column("disc")
    private Double disc;

    /**
     *订单时间
     */
    @Column("create_time")
    private Date createTime;
}
